<?php
class Order_Service_OrderPickup
{	
	
	public static function add($row)
	{ 
		$obj=new Order_Model_OrderPickup();
		return $obj->add($row);
	}

	public static function update($row,$id)
	{ 
		$obj=new Order_Model_OrderPickup();
		return $obj->update($row,$id);
	}
	
	public static function updateByField($row,$field,$value)
	{ 
		$obj=new Order_Model_OrderPickup();
		return $obj->updateByField($row,$field,$value);
	}
	
	public static function getByValue($value,$field){
        $Obj = new Order_Model_OrderPickup();
        return $Obj->getByValue($value,$field);
	}

	public static function getByCond($cond=array(),$type='*',$pageSize=0,$page=1,$order=array())
	{ 
		$obj=new Order_Model_OrderPickup();
		$rows= $obj->getByCond( $cond,$type,$pageSize,$page,$order);	
		return $rows;
	}
	
}